package com.allen.mk.admin.service;

import com.allen.mk.admin.entity.SysRole;
import com.allen.mk.admin.entity.SysUser;
import response.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Allen
 * @since 2024-04-11
 */
public interface SysUserService extends IService<SysUser> {

    Result register(String username,String password);

    List<SysRole> getAuthorities(String username);

}
